Release 10.1A: OpenEdge Development:
AppBuilder


Creating and completing a SmartSender master

Use the Object Palette to place a SmartSender object.

To create a new SmartSender master:

  1. Click the SmartSender tool icon on th Object Palette:
  2. When the Choose dialog box opens, click the New button. After a moment, a new SmartSender object appears:
  3. Open the Section Editor and add handler code to complete the sendHandler and receiveReplyHandler procedures. Use calls from the 4GL-JMS API.
  4. The sendHander procedure deals with your outbound messages. Use it to set properties and create message bodies. See the "Example of sendHandler code" section.

    The receiveReplyHandler procedure deals with incoming replies. Use it to extract properties and evaluate message bodies. See the "Example of sendHandler override code" section.

  5. Save the completed master using a descriptive filename. Note that SmartSender filenames conventionally begin with sms.

Creating a SmartReceiver master involves comparable steps, though the names of the handler routines are receiveHandler and sendReplyHandler, respectively. See the "Example of receiveHandler code" section and the "Example of sendReplyHandler code" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095